home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.mactech.com 2010
/
ftp.mactech.com.tar
/
ftp.mactech.com
/
macintosh-c
/
macc-carbon-demos-nonbinhex.sit
/
macc-carbon-demos-nonbinhex
/
chap25-demo-carbon events
/
Notification.c.rsrc
/
TEXT_8715.txt
< prev
Wrap
Text File
|
2001-03-12
|
1KB
|
29 lines
// *******************************************************************************************
// Notification.c CARBONIZED. USES CARBON EVENT MODEL
// *******************************************************************************************
#include "Miscellany.h"
// …………………………………………………………………………………………………………………………………………………………………………………………………… global variables
NMRec gNotificationStructure;
long gStartingTickCount;
Boolean gNotificationDemoInvoked;
Boolean gNotificationInQueue;
extern WindowRef gWindowRef;
extern ProcessSerialNumber gProcessSerNum;
extern RGBColor gWhiteColour;
extern RGBColor gBlueColour;
// *********************************************************************** doSetUpNotification
void doSetUpNotification(void)
{
doPrepareNotificationStructure();
gNotificationDemoInvoked = true;
gStartingTickCount = TickCount();
RGBForeColor(&gWhiteColour);
MoveTo(10,279);
DrawString("\pPlease cl